package cn.xd.security.enums;

import cn.xd.common.enums.IBaseEnum;
import lombok.Getter;

/**
 * 密码编码类型枚举
 *
 * @author haoxr
 * @createTime 2021/6/5 17:57
 */

@Getter
public enum PasswordEncoderTypeEnum implements IBaseEnum<String> {

    BCRYPT("{bcrypt}", "BCRYPT加密"),
    MD5("{MD5}", "MD5加密"),
    NOOP("{noop}", "无加密明文");


    private final String code;
    private final String info;

    PasswordEncoderTypeEnum(String code, String info) {
        this.code = code;
        this.info = info;
    }

}
